package com.bdqn.zhang.service.impl;

import com.bdqn.zhang.dao.VivodlrizhiDao;
import com.bdqn.zhang.dao.impl.VivodlrizhiDaoimpl;
import com.bdqn.zhang.pojo.Vivodenglurizhi;
import com.bdqn.zhang.service.ServiceVivodlrizhi;

import java.util.List;

public class ServiceVivodlrizhiimpl implements ServiceVivodlrizhi {
    VivodlrizhiDao vivodlrizhiDao=new VivodlrizhiDaoimpl();
    public List<Vivodenglurizhi> getAll(int from, int pageSixe) {
        return vivodlrizhiDao.getAll(from,pageSixe);
    }

    @Override
    public int getCount() {
        return vivodlrizhiDao.getCount();
    }

    @Override
    public int add(Vivodenglurizhi Vivodenglurizhi) {
        return vivodlrizhiDao.add(Vivodenglurizhi);
    }

    @Override
    public int del(String id) {
        return vivodlrizhiDao.del(id);
    }
}
